package com.jintian.smart.kernel.orm.entity.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.beetl.sql.annotation.builder.Builder;

/**
 * 自动映射为JavaBean
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = { ElementType.METHOD, ElementType.FIELD })
@Builder(JSONMapperConvert.class)
public @interface JSONMapper {
	DataType dataType() default DataType.Text;

	public enum DataType {
		Text, Blob;
	}
}
